package com.bitcola.chainserver;


import com.bitcola.security.auth.client.EnableAceAuthClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableEurekaClient

@EnableCircuitBreaker
@EnableTransactionManagement
@EnableScheduling
@EnableAceAuthClient
@SpringBootApplication//(exclude = {DataSourceAutoConfiguration.class, DataSourceProperties.class})
@EnableFeignClients({"com.bitcola.security.auth.client.feign", "com.bitcola.chainserver.feign"})

public class ChainKafkaClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(ChainKafkaClientApplication.class, args);
	}


}
